#define  _CRT_SECURE_NO_WARNINGS 1
void QueueDestroy(Queue* p)
{
	assert(p);
	QNode* cur = p->phead;
	while (cur)
	{
		QNode* next = cur->next;
		free(cur);
		cur = next;
	}
	p->phead = p->tail = NULL;
	p->size = 0;
}